package com.campus_information_portal.dao;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Description 学院Dao层
 * @author 20155878 鄢前州
 * @create 9:42 2018/5/10
 **/
public interface AcademyDao {
     /**
          * @Description 通过学院名称查询学院id
          * @author 20155878 鄢前州
          * @methodName queryacademy_idByacademy_name
          * @returnType int
          * @create 9:46 2018/5/10
          **/
    @Select("select academy_id from academy where academy_name=#{academy_name}")
     Integer queryacademyidByacademy_name(@Param("academy_name") String academy_name);
}
